package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 房东房源id关联表对象 rent_homeowner_property
 * 
 * @author ssd
 * @date 2024-03-25
 */
public class SysHomeownerProperty extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 房东id */
    private Long homeownerId;

    /** 房源id */
    private Long propertyId;

    public void setHomeownerId(Long homeownerId) 
    {
        this.homeownerId = homeownerId;
    }

    public Long getHomeownerId() 
    {
        return homeownerId;
    }
    public void setPropertyId(Long propertyId) 
    {
        this.propertyId = propertyId;
    }

    public Long getPropertyId() 
    {
        return propertyId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("homeownerId", getHomeownerId())
            .append("propertyId", getPropertyId())
            .toString();
    }
}
